<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <!--[if lt IE 9]>
    <script type="text/javascript" src="{__STATIC_PATH}admin/lib/html5.js"></script>
    <script type="text/javascript" src="{__STATIC_PATH}admin/lib/respond.min.js"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="{__STATIC_PATH}admin/static/h-ui/css/H-ui.css"/>
    <link rel="stylesheet" type="text/css" href="{__STATIC_PATH}admin/lib/Hui-iconfont/1.0.9/iconfont.css"/>
    <link rel="stylesheet" type="text/css" href="{__STATIC_PATH}admin/static/business/css/style.css"/>
    <!--[if IE 6]>
    <script type="text/javascript" src="http://lib.h-ui.net/DD_belatedPNG_0.0.8a-min.js"></script>
    <script>DD_belatedPNG.fix('*');</script><![endif]-->
    <title>用户查看</title>
</head>
<body>
<div class="clearfix pd-20" style=" background-color:#5bacb6">
    <dl style="margin-left:80px; color:#fff">
        <dt><span class="f-18">{$model.nickname}</span></dt>
        <!--      <dd class="pt-10 f-12" style="margin-left:0">这家伙很懒，什么也没有留下</dd>-->
    </dl>
</div>
<div class="pd-20">
    <table class="table">
        <tbody>
        <tr>
            <th class="text-r" width="80">抽烟数量：</th>
            <td>{$data.smoke_num}</td>
        </tr>
        <tr>
            <th class="text-r" width="80">记录次数：</th>
            <td>{$data.smoke_record}</td>
        </tr>
        <tr>
            <th class="text-r">总花费：</th>
            <td>{$data.cost_num}</td>
        </tr>
        <tr>
            <th class="text-r">记录花费次数：</th>
            <td>{$data.cost_record}</td>
        </tr>
        {foreach $cost as $k=>$v}
        <tr>
            <th class="text-r">最爱品牌{$k+1}：</th>
            <td>{$v.smoke_name}</td>
        </tr>
        {/foreach}
        <tr>
            <th class="text-r">注册时间：</th>
            <td>{$model.create_time|date="Y-m-d H:i:s"}</td>
        </tr>
        </tbody>
    </table>
</div>
<!--_footer 作为公共模版分离出去-->
{include file="public/footer" /}
<!--/_footer /作为公共模版分离出去-->
</body>
</html>
